package com.miya.dao;

import com.miya.entity.User;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * @DESC
 * @Author:Caixiaowei
 * @Date:2018/11/22
 * @Time:下午5:56
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
    *
    * @Author:Caixiaowei
    * @Date:下午7:06 2018/11/22
    */
    int countByUsername(String username);
}
